//////////////////////////////////////////////////////////////////////////
//	File: CDecoy.h
//
//	Author: Steven Seufert
//	Date:	January 13, 2012
//
//	Purpose: To define the Decoy class spell 
/////////////////////////////////////////////////////////////////////////

#ifndef	CDECOY_H
#define CDECOY_H

#include "CSpellBase.h"
#include "Messaging\IListener.h"

class CPlayer;

class CDecoy : public CSpellBase, public IListener
{
private:
	int		m_nSoundID;			//cast 
	int		m_nRadius;			// How wide is the effect?
	float	m_fDuration;		// How long does the spell last?
	int		m_nHealth;			// How much starting health does the decoy have?
	// images 
	// animations
public:
	// constructor
	CDecoy();

	// destructor
	~CDecoy();

	void Cast(CPlayer* caster);

	void Update(float fElapsedTime);
	void Render(void);
	bool CheckCollision(IBaseInterface * pBase );

	void HandleEvent(CEvent* pEvent);
};
#endif